<!DOCTYPE HTML>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0, minimum-scale=1.0, user-scalable=0, initial-scale=1.0, width=device-width" />
    <meta name="format-detection" content="telephone=no, email=no, date=no, address=no">
    <title>Hello APP</title>
    <link rel="stylesheet" type="text/css" href="../../css/aui-flex.css" />
    <link rel="stylesheet" type="text/css" href="../../css/aui.css" />
    <link rel="stylesheet" type="text/css" href="../../css/common.css" />
    <style>
        /*弹窗*/
        body {
            background: transparent;
        }
        .popBox {
            right: 0.5rem;
            top: 3.75rem;
            border-radius: 0.2rem;
        }
        .share li{
          height: 2.4rem;
          padding: 0 0.75rem;
          font-size:0.7rem;
          color:#444444;
        }
        .share li .imgBox{
          border-radius: 50%;
          margin-right: 0.3rem;
        }
        .share li img{
          height: 1rem;
        }
    </style>
</head>
<body>
    <div class="popOverlay" tapmode onClick="api.closeFrame();"></div>
    <div class="popBox" >
      <ul class="share firstNoBorder">
        <!-- <li class="aui-flex-col aui-flex-middle aui-border-t" tapmode onClick="shareTo('session');">
          <div class="imgBox"><img src="../../image/common/11.png" alt=""></div>
          <p>分享到好友</p>
        </li>
        <li class="aui-flex-col aui-flex-middle aui-border-t" tapmode onClick="shareTo('timeline');">
          <div class="imgBox"><img src="../../image/common/10.png" alt=""></div>
          <p>分享到朋友圈</p>
        </li>
        <li class="aui-flex-col aui-flex-middle aui-border-t copyBtn aui-hide" tapmode onClick="copyLink();">
          <div class="imgBox"><img src="../../image/common/09.png" alt=""></div>
          <p>复制链接</p>
        </li> -->
        <li class="aui-flex-col aui-flex-middle aui-border-t delBtn aui-hide" tapmode onClick="del();">
          <div class="imgBox"><img src="../../image/common/37.png" alt=""></div>
          <p>删除</p>
        </li>
      </ul>
    </div>
</body>
<script type="text/javascript" src="../../script/import.js"></script>
<script type="text/javascript" src="../../script/common.js"></script>
<script type="text/javascript">
  apiready = function() {
    api.parseTapmode();
		if(api.pageParam.copyBtn){
			$$('.copyBtn').removeClass('aui-hide');
		}
		if(api.pageParam.delBtn){
			$$('.delBtn').removeClass('aui-hide');
		}
  };
  function shareTo(type){
    api.execScript({
			name: api.pageParam.wname,
			script: 'share("'+ type +'");'
		});
		api.closeFrame();
  }
	function copyLink(){
		
	}
	function del(){
    api.execScript({
			name: api.pageParam.wname,
			script: 'delPostAlert()'
		});
		api.closeFrame();
		
	}
	function delpost(){
		
	}
</script>
</html>
